package org.component.scrollbar
{
	import flash.events.Event;
	
	/**
	 * 滚动条事件类
	 * @author anjue
	 */
	public class UIScrollEvent extends Event
	{
		public static var SCROLL_MOVE:String = "scroll_move";
		
		private var _index:uint;
		
		public function UIScrollEvent(_type:String,index:uint,_bubbles:Boolean = false,_cancelable:Boolean = false)
		{
			super(_type,_bubbles,_cancelable);
			_index = index;
		}
		
		public function set index(v:uint):void
		{
			_index = v;
		}
		
		public function get index():uint
		{
			return _index;
		}
	}
}